<?php if(!$users) return '';?>

<div class="sidebar_box">
	<?php if($widget_title !=''): ?>
		<div class="home-sidebar1" style="margin-bottom:0"><div class="module_title1"><span><?php echo $widget_title;?></span></div></div>
	<?php endif;?>
		<div class="playerscontent">
<ul class="widget-most-active-players">

<?php
if($users)
foreach($users as $user): ?>
<li><img src="<?php echo image_thumbnail($user->use_avatar,'user-avatar-medium');?>" alt="" class="avatar  avatar-30  photo user-<?php echo $user->use_id ;?>-avatar" width="30" height="30"><div class="user">
<a href="<?php echo user_url('info',$user->use_account);?>">
<?php echo $user->use_account ;?></a></div>
<div class="core"><?php echo ($view =='play')?'Điểm:':'Điểm kinh nghiệm:';?> <?php echo $user->use_scores ;?></div><div class="clear"></div></li>
<?php endforeach; ?>
</ul></div><div class="clear"></div>
</div>